package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsAdmin;

import java.util.List;
import java.util.Map;

public interface DtsAdminService {
    DtsAdmin findUsername(String username);

    IPage<DtsAdmin> findByPage(Integer page, Integer limit, String sort, String order, String username);

    DtsAdmin add(DtsAdmin admin);

    DtsAdmin update(DtsAdmin admin);

    DtsAdmin delete(DtsAdmin admin);

    List<Map<String, Object>> findAdmin();

}
